#ifndef CNBLOGS_H
#define CNBLOGS_H

#include "wiki.h"

class CnBlogs : public Wiki
{
public:
    enum Type {
        News,
        Blog,
        Question,
        Kb,
    };
    CnBlogs(Type type = Blog);

    // Wiki interface
public:
    QString name() override;

    WIKI_AUTOLOAD
    WIKI_USE_DELAY(1000)
    WIKI_USE_URL
    WIKI_FORWARED_CONTENT

    QString content(const QString &text) override;

private:
    Type m_type;
};

#endif // CNBLOGS_H
